package com.woniuxy.banka.controller;

import com.woniuxy.banka.service.BankAService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/banka")
public class BankAController {
    @Resource
    private BankAService bankAService;

    @RequestMapping("/start")
    public void start(){
        bankAService.update();
    }
}
